package com.jiandian.dao;

import com.jiandian.entity.SignPrize;
import com.jiandian.page.PageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 奖品 Mapper
 *
 * @author houqi Fu
 * @date 2018/12/15
 */
@Mapper
@Component
public interface SignPrizeMapper {
    SignPrize selectByPrimaryKey(Integer id);

    List<SignPrize> selectAll(PageInfo pageInfo);

    int selectCount(PageInfo pageInfo);

    List<SignPrize> batchQueryByIds(List<Integer> ids);

    int updateByPrimaryKey(SignPrize record);

    int insert(SignPrize record);

    int batchInsert(List<SignPrize> list);

    int batchDeleteById(List<Integer> ids);

    int deleteByPrimaryKey(Integer id);
}
